(function ($) {
	mui.init({
		swipeBack: false, //关闭右滑关闭功能
	});
	mui.plusReady(function() {
		baseSetup();
	})
	if (!mui.os.plus) {
		baseSetup()
	}
	function baseSetup(){
		mui('.mui-scroll-wrapper').scroll({
			bounce: true,
			indicators: false, //是否显示滚动条
		});
		var self = plus.webview.currentWebview()
		var url = self.fileUrl
		$('#title')[0].innerHTML = self.title
		getFileContent(url)
	}
	function getFileContent(url){
		mui.DHCRequestJson(url, function(result) {
			$('#scroll')[0].innerHTML = result.replace(/\n/g,'<br>')
		}, function(errorStr) {
			
		});
	}
})(mui)